package com.feige.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import java.util.Date;

@ApiModel(value="UserVo对象")
public class UserVo {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "学号")
    private String num;


    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "性别(1男0女)")
    private Integer sex;


    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "电话号码")
    private String phoneNumber;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    public UserVo() {
    }

    public UserVo(Long id, String num, String username, Integer sex, String nickname, String phoneNumber, String email, Integer status, Date gmtCreate) {
        this.id = id;
        this.num = num;
        this.username = username;
        this.sex = sex;
        this.nickname = nickname;
        this.phoneNumber = phoneNumber;
        this.email = email;
        this.status = status;
        this.gmtCreate = gmtCreate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "id=" + id +
                ", num='" + num + '\'' +
                ", username='" + username + '\'' +
                ", sex=" + sex +
                ", nickname='" + nickname + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", email='" + email + '\'' +
                ", status=" + status +
                ", gmtCreate=" + gmtCreate +
                '}';
    }
}
